package com.yehuishou.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yehuishou.pojo.ImageFile;

public interface FileDao {
	
	public void save(ImageFile file);
	
	
	//根据多个id 查图片集合
	
	public List<ImageFile> getImageByid(@Param(value="ids") List<Integer> ids);
	
	//获取一张图片
	
	public ImageFile getOneImageByid(@Param(value="fileid") Integer fileid);
	
    public void  deleteOneImage(Integer fileId);
}
